package com.feducation.enums;

/**
 * 性别枚举类
 */
public enum GenderEnum {
    /**
     * 男
     */
    MALE(1,"男"),
    /**
     * 女
     */
    FEMALE(2,"女");

    private Integer num;
    private String value;

    public Integer getNum() {
        return num;
    }
    public void setNum(Integer num) {
        this.num = num;
    }

    public String getValue() {
        return value;
    }
    public void setValue(String value) {
        this.value = value;
    }

    GenderEnum(Integer num, String value){
        this.num = num;
        this.value= value;
    }
}
